﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucContactUs.ascx.cs" Inherits="UserControl_ucContactUs" %>
<style type="text/css">
    .style1
    {
        width: 100%;
    }
</style>
<div class="Post">
    <div class="Post-tl">
    </div>
    <div class="Post-tr">
    </div>
    <div class="Post-bl">
    </div>
    <div class="Post-br">
    </div>
    <div class="Post-tc">
    </div>
    <div class="Post-bc">
    </div>
    <div class="Post-cl">
    </div>
    <div class="Post-cr">
    </div>
    <div class="Post-cc">
    </div>
    <div class="Post-body">
        <div class="Post-inner">
            <div class="PostContent">
                <p class="style1">
                    <a href="Default.aspx">Home</a> / <strong class="active-link">Contact Us</strong>
                </p>
                <div id="node-7" class="node Post">
                    <div class="Post-tl">
                    </div>
                    <div class="Post-tr">
                    </div>
                    <div class="Post-bl">
                    </div>
                    <div class="Post-br">
                    </div>
                    <div class="Post-tc">
                    </div>
                    <div class="Post-bc">
                    </div>
                    <div class="Post-cl">
                    </div>
                    <div class="Post-cr">
                    </div>
                    <div class="Post-cc">
                    </div>
                    <div class="Post-body">
                        <div class="Post-inner">
                            <div class="PostHeaderIcons metadata-icons">
                            </div>
                            <div class="PostContent">
                                <div class="article">
                                    <span class="print-link"></span>
                                    <asp:Panel ID="pnal1" runat="server">
                                        <table class="style1" style="padding-top: 0px">
                                            <tr>
                                                <td>
                                                    
                                                    <table class="style1">
                                                        <tr>
                                                            <td>
                                                               <asp:Label ID="lbdc" runat="server" Text="Label" style="color: #4F004F">1016A, Westfield Shopping Centre, Hornsby NSW 2077</asp:Label></td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                            <span style="color: #4F004F">Phone: 0415 16 16 16</span>
                                                             </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                 <span style="color: #4F004F">Email: <a href ="ContactUs.aspx"> m@mprsc.com</a></span></td>
                                                        </tr>
                                                    </table>
                                                    
                                                </td>
                                                <td>
                                                    bản đồ
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                    <div style="font-size: 20px">
                                        Contact</div>
                                    <div>
                                        You can leave a message using the contact form below.</div>
                                    <div style="text-align: center">
                                        <td align="center">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                <ContentTemplate>
                                                    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
                                                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEmail"
                                                        Display="Dynamic" ErrorMessage="E-mail address is not valid" SetFocusOnError="True"
                                                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                </ContentTemplate>
                                                <Triggers>
                                                    <asp:AsyncPostBackTrigger ControlID="btnSend" EventName="Click" />
                                                </Triggers>
                                            </asp:UpdatePanel>
                                        </td>
                                    </div>
                                    <asp:Panel ID="Panel1" runat="server" DefaultButton="btnSend">
                                        <table align="center" border="0" cellpadding="0" cellspacing="3" width="100%">
                                            <tr>
                                                <td class="style6" style="text-align: right">
                                                    Your name:
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtName" runat="server" autocomplete="off" CssClass="txtRegisterReq"
                                                        ToolTip="Input full name" ValidationGroup="validRegister"></asp:TextBox>
                                                    &nbsp;<asp:RequiredFieldValidator ID="requireFirstName" runat="server" ControlToValidate="txtName"
                                                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                                            </tr>
                                            <tr>
                                                <td class="style8" style="text-align: right">
                                                    Your Email Address :
                                                </td>
                                                <td align="left" class="style9">
                                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="txtRegisterReq" ToolTip="Input email"
                                                        ValidationGroup="validRegister"></asp:TextBox>
                                                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmail"
                                                        ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>&nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style6" style="text-align: right">
                                                    Subject :
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtSubject" runat="server" CssClass="txtRegisterReq" ToolTip="Input subject"
                                                        ValidationGroup="validRegister"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSubject"
                                                        ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style6" style="text-align: right; vertical-align: top">
                                                    Message :
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtMsg" runat="server" CssClass="txtRegisterReq" Height="80px" TextMode="MultiLine"
                                                        ToolTip="Input message" ValidationGroup="validRegister"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMsg"
                                                        ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style6">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="style6" style="text-align: right; vertical-align: top">
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    <asp:Button ID="btnSend" runat="server" Text="Send Email" OnClick="btnSend_Click" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" style="text-align: center; vertical-align: top">
                                                    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                                        <ProgressTemplate>
                                                            <asp:Image ID="imgLoading" runat="server" ImageUrl="~/image/loadingAnimation.gif"
                                                                Style="border-width: 0px;" ToolTip="Loading..." />
                                                        </ProgressTemplate>
                                                    </asp:UpdateProgress>
                                                </td>
                                            </tr>
                                        </table>
                                    </asp:Panel>
                                </div>
                            </div>
                            <div class="cleared">
                            </div>
                            <div class="PostFooterIcons metadata-icons">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="cleared">
            </div>
        </div>
    </div>
</div>
